package com.xtedu.examproject.entity;

import java.io.Serializable;
import java.sql.Timestamp;

public class paperTemplates implements Serializable {
    private int id;
    private String templateName;
    private String description;
    private Timestamp createTime;
    private boolean isDefault;

    public paperTemplates(int id, String templateName, String description, Timestamp createTime, boolean isDefault) {
        this.id = id;
        this.templateName = templateName;
        this.description = description;
        this.createTime = createTime;
        this.isDefault = isDefault;
    }
    public paperTemplates() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public boolean isDefault() {
        return isDefault;
    }

    public void setDefault(boolean aDefault) {
        isDefault = aDefault;
    }

    @Override
    public String toString() {
        return "paperTemplates{" +
                "id=" + id +
                ", templateName='" + templateName + '\'' +
                ", description='" + description + '\'' +
                ", createTime=" + createTime +
                ", isDefault=" + isDefault +
                '}';
    }
}
